home *** CD-ROM | disk | FTP | other *** search
/ WinDesk 95 - An MPC Encyclopedia / WinDesk 95 - An MPC Encyclopedia.iso / power / macstage / STAGETC.TXT < prev   
Text File  |  1995-03-21  |  1KB  |  52 lines

  1. StageToCast README
  2. ------------------
  3.  
  4.  
  5. The StageToCast Windows XObject for Macromedia Director copies a portion of
  6. the stage into the clipboard. The user can then copy the content of the
  7. clipboard into a cast, thus getting the same result as with the Mac version
  8. of the XObject.
  9.  
  10. The available methods are:
  11.  
  12.  
  13. mNew
  14. ----
  15.  
  16. This is the constructor of the XObject. Its parameters specify the dimension
  17. of the portion of the stage the user wants to copy. It is called by Lingo
  18. using the following syntax:
  19.  
  20.   put StageTC( mNew, top, left, bottom, right ) into STCObj
  21.  
  22. The return value is 0 if the creation of the new instance was completed
  23. successfully, otherwise it is a negative number.
  24.  
  25.  
  26. mDispose
  27. --------
  28.  
  29. This method destroys an XObject instance. It requires no parameters. Note that
  30. the content of the clipboard is lost after calling mDispose. The Lingo syntax
  31. is:
  32.  
  33.   STCObj( mDispose )
  34.  
  35. The return value is 0 if the instance was correctly destroyed, otherwise it is
  36. a negative number.
  37.  
  38.  
  39. mGetHandle
  40. ----------
  41.  
  42. This call copies the specified portion of the stage to the clipboard. It requires
  43. no parameters. The Lingo syntax is:
  44.  
  45.   copyObj( mGetHandle )
  46.  
  47. After this, users can paste the result into a cast by using the following command:
  48.  
  49.   pasteclipboardinto cast "result_cast"
  50.  
  51. The return value is 0 if the copy was successful, otherwise it is a negative number.
  52.